#include <iostream>
#include <fstream>
#include <opencv2/opencv.hpp>
#include <opencv2/flann/config.h> // wrist position matching
#include <opencv2/flann/flann.hpp> // wrist position matching
#include <opencv2/legacy/legacy.hpp> // EM
#include <opencv2/contrib/contrib.hpp> // colormap conversion
#include "perpix.h" // perpixel classifier class
using namespace std;
using namespace cv;

int main (int argc, char * const argv[])
{

//string root = "/_CAMJIT/";
//string train_basename = "GOPR2366"; //"GOPR2335"; //"GOPR0979";
//string test_basename = "GOPR2366"; //"GOPR2335"; //"GOPR0979";
//string ext = ".mp4";
//string msktyp = "msk_fg/";

// string root = "/_MEY2/";
// string train_basename = "STOPS_20111214_CR1_02_C5"; //"GOPR2335"; //"GOPR0979";
// string test_basename = "STOPS_20111214_CR1_02_C5"; //"GOPR2335"; //"GOPR0979";
// string ext = ".mov";

//string root = "../../../ETI/";
//string train_basename = "ETI_27";
//string test_basename = "ETI_27";
//string ext = ".m4v";

//string root = "/faces/";
//string basename = "caltechfaces";
//string ext = ".avi";

//string root = "/_FPV/";
//string train_basename = "GOPR2335"; //"GOPR2335"; //"GOPR0979";
//string test_basename = "GOPR2336_648_687_0"; //"GOPR2335"; //"GOPR0979";
//string msktyp = "msk_hand/";
//string train_ext = ".mp4";
//string test_ext = ".avi";

//GOPR2336_220_262_0
//GOPR2336_432_472_0
//GOPR2336_648_687_0

//string root = "/meY2/";
//string basename = "STOPS_20111214_CR1_02_C5";
//string ext = ".mov";


	perpix pp( argc, argv);


//pp.set_test(root,"GOPR2336_220_262_0",ext);
//pp.run_test();

//pp.set_test(root,"GOPR2336_432_472_0",ext);
//pp.run_test();

return 0;
}

